home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19961006-19970104 / 000314_news@columbia.edu _Fri Dec 13 11:38:09 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.8.3/8.8.3) with ESMTP id LAA15411 for <kermit.misc@watsun.cc.columbia.edu>; Fri, 13 Dec 1996 11:38:09 -0500 (EST)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.8.3/8.8.3) id LAA15367 for kermit.misc@watsun; Fri, 13 Dec 1996 11:38:08 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Can I use variable arrays in dos K 3.14?
  8. Date: 13 Dec 1996 16:37:16 GMT
  9. Organization: Columbia University
  10. Lines: 24
  11. Message-ID: <58s0ns$bq0$1@apakabar.cc.columbia.edu>
  12. References: <32B0FC8A.2F4F@ktk.oulu.fi>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14. Xref: news.columbia.edu comp.protocols.kermit.misc:6278
  15.  
  16. In article <32B0FC8A.2F4F@ktk.oulu.fi>,
  17. Esa Pikkarainen  <epikkara@ktk.oulu.fi> wrote:
  18. : In Dos Kermit 3.14 there seems not to be any variable arrays proper 
  19. : (like in basic x$(i) where i index can be changin number), are there?
  20. No, there are not.
  21.  
  22. Arrays have been added in version 3.15, now in Beta test.  They are
  23. exactly the same as in C-Kermit.  Like C-Kermit, it will also have FOR
  24. loops, etc.  For example, here is a how to declare a 200-element array
  25. and then assign a value to each member:
  26.  
  27.   declare \&a[200]
  28.  
  29.   for \%i 1 200 1 {
  30.      assign \&a[\%i] \%i
  31.   }
  32.  
  33. MS-DOS Kermit 3.15 Beta 8 is available at:
  34.  
  35.   ftp://kermit.columbia.edu/kermit/test/bin/msk315.zip
  36.  
  37. - Frank
  38.